def prime_factors(n):
    factors = {}
    while n % 2 == 0:
        factors[2] = factors.get(2, 0) + 1
        n = n // 2

    i = 3
    while i * i <= n:
        while n % i == 0:
            factors[i] = factors.get(i, 0) + 1
            n = n // i
        i += 2

    if n > 2:
        factors[n] = 1
    return factors

n = int(input())
factors = prime_factors(n)
a = []
for i in factors.keys():
    a.append(i)

print(len(a))
